
all: compile_ip

VIVADO ?= /home/airxs/software/xilinx/Vivado/2022.2/bin/vivado

ifeq (, $(shell which $(VIVADO)))
 VIVADO := vivado 
endif

VIVADO += -mode batch -nojournal -nolog

compile_ip:
	$(VIVADO) -source config/conf.tcl

clean:
	rm -rf *.log *.jou *.str *.hw *.ip_user_files *.xpr *.cache *.gen *.runs *.srcs

